import QtQuick 2.12
import QtQuick.Window 2.12
import EasySpectrogram 1.0

//EasySpectrogram的测试代码
Window {
    visible: true
    width: 640
    height: 480
    title: qsTr("EasySpectrogram (by: Gong Jian Bo 1992)")

    QmlItem{
        id:item
        width: 100
        height: 100

        name: "test"

        onNameChanged: console.log(name)
    }

    CppItem{
        id:item2
        width: 100
        height: 100
        anchors.centerIn: parent
        name: item.name
    }

    Component.onCompleted: item.name="test qml plugin";
}
